﻿<controls:ChildWindow x:Class="HackingSilverlightCodeBrowser.HelpScreen"
           xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
           xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
           xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"
           Width="400" Height="300" 
           Title="Help Screen">
    <Grid x:Name="LayoutRoot" Margin="2">
        <Grid.RowDefinitions>
            <RowDefinition />
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>
        
        <StackPanel Orientation="Vertical" >
            <TextBlock Text="Up front this tool is not designed to help the new silverlight person initially its designed around my need to have the references easy to access due to my failing memory, that bieng the case the code blocks are more of a quick reference for experts, however due to popular demand I will be adding features to make it easier to use and understand including explainations in the future as time permits..." 
                       TextWrapping="Wrap" />
            <TextBlock Text=" " TextWrapping="Wrap" />
            <TextBlock Text="Description: " TextWrapping="Wrap" />
            <TextBlock Text="As to the functionality of the HackingSilverlight Code Browser, basically its a library of code snippets that are tagged and searchable.  From the main UI you can type in text which searchs the tags and shows everything that matchs in a list view.  There is a tag cloud that gives you an idea of the kinds of things that are in the database.  The tags in the tag cloud are clickable and will automatically populate the search field and execute a search.  From the list view if you click on any of the results you will get that code block opened in the code viewer.  There is a simple code viewer with simple formating applied as well as a collection of all the tags associated with that block which you can click on to go back and look at everything with that tag.  From the code viewer you can also just browser through blocks of code.  The application also has a system for letting you know when there is a new version available on the server for download." TextWrapping="Wrap" />
        </StackPanel>

        <Button x:Name="CancelButton" Content="Cancel" Click="CancelButton_Click" Width="75" Height="23" HorizontalAlignment="Right" Margin="0,12,0,0" Grid.Row="1" />
        <Button x:Name="OKButton" Content="OK" Click="OKButton_Click" Width="75" Height="23" HorizontalAlignment="Right" Margin="0,12,79,0" Grid.Row="1" />
    </Grid>
</controls:ChildWindow>